home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / cgetri.z / cgetri
Encoding:
Text File  |  2002-10-03  |  3.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCGGGGEEEETTTTRRRRIIII((((3333SSSS))))                                                          CCCCGGGGEEEETTTTRRRRIIII((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CGETRI - compute the inverse of a matrix using the LU factorization
  10.      computed by CGETRF
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CGETRI( N, A, LDA, IPIV, WORK, LWORK, INFO )
  14.  
  15.          INTEGER        INFO, LDA, LWORK, N
  16.  
  17.          INTEGER        IPIV( * )
  18.  
  19.          COMPLEX        A( LDA, * ), WORK( * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      CGETRI computes the inverse of a matrix using the LU factorization
  36.      computed by CGETRF. This method inverts U and then computes inv(A) by
  37.      solving the system inv(A)*L = inv(U) for inv(A).
  38.  
  39.  
  40. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  41.      N       (input) INTEGER
  42.              The order of the matrix A.  N >= 0.
  43.  
  44.      A       (input/output) COMPLEX array, dimension (LDA,N)
  45.              On entry, the factors L and U from the factorization A = P*L*U as
  46.              computed by CGETRF.  On exit, if INFO = 0, the inverse of the
  47.              original matrix A.
  48.  
  49.      LDA     (input) INTEGER
  50.              The leading dimension of the array A.  LDA >= max(1,N).
  51.  
  52.      IPIV    (input) INTEGER array, dimension (N)
  53.              The pivot indices from CGETRF; for 1<=i<=N, row i of the matrix
  54.              was interchanged with row IPIV(i).
  55.  
  56.      WORK    (workspace/output) COMPLEX array, dimension (LWORK)
  57.              On exit, if INFO=0, then WORK(1) returns the optimal LWORK.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCGGGGEEEETTTTRRRRIIII((((3333SSSS))))                                                          CCCCGGGGEEEETTTTRRRRIIII((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      LWORK   (input) INTEGER
  75.              The dimension of the array WORK.  LWORK >= max(1,N).  For optimal
  76.              performance LWORK >= N*NB, where NB is the optimal blocksize
  77.              returned by ILAENV.
  78.  
  79.              If LWORK = -1, then a workspace query is assumed; the routine
  80.              only calculates the optimal size of the WORK array, returns this
  81.              value as the first entry of the WORK array, and no error message
  82.              related to LWORK is issued by XERBLA.
  83.  
  84.      INFO    (output) INTEGER
  85.              = 0:  successful exit
  86.              < 0:  if INFO = -i, the i-th argument had an illegal value
  87.              > 0:  if INFO = i, U(i,i) is exactly zero; the matrix is singular
  88.              and its inverse could not be computed.
  89.  
  90. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  91.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  92.  
  93.      This man page is available only online.
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.